<?php
class Modules_Core_Model_GetActive
	{
		public $result=array("error"=>"","result"=>0);
		public function Modules_Core_Model_GetActive($args=null)
		{
			if($args==null)
				return;
			try{
				$this->result["module"]=Modules_Core_View_Menu::option($_POST["me"]);
				$this->result["result"]=1;
			}
			catch(Exception $e)
			{
				$this->result["result"]=0;
				$this->result["error"]="Error making authentication";
			}
		}
		public function Init()
		{
			
		}
	}
	?>